# $Id$
# MSYS2 maintainer: matoro <matoro@airmail.cc>
# Arch maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>

pkgname=vifm
pkgver=0.9.1
pkgrel=1
pkgdesc="Ncurses based file manager with vi like keybindings"
arch=('i686' 'x86_64')
url="http://vifm.info/"
license=('GPL')
depends=('ncurses')
makedepends=('ncurses-devel')
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
sha256sums=('28b9a4b670d9ddc9af8c9804dc22fa93f4fd0adabce94d43ebedc157a5dce7b3')

build() {
   cd "${srcdir}"/$pkgname-$pkgver
 
   ./configure --prefix=/usr --sysconfdir=/etc
   make 
}

package() {
   cd "${srcdir}"/$pkgname-$pkgver

   make DESTDIR="${pkgdir}" install
}
